Binds to the Active Directory object specified by ADsPath.
ActiveDirectory.BindObject(ADsPath String)
ADsPath
|
Specifies the ADs path of the object to bind to in the form of an LDAP query. |
Dispatch.
To bind to the rootDSE object, enter:
Dim objActiveDirectory, objRootDSE Set objActiveDirectory = CreateObject("McActiveDir.ActiveDirectory") objActiveDirectory.BindObject("LDAP://rootDSE", objRootDSE) Set objRootDSE = Nothing Set objActiveDirectory = Nothing
This example binds to the rootDSE object of the domain.